Issue Encountered in Virtual Machine

Steps to resolve batch service startup error and client issues

Problem

Two challenges were encountered within the virtual machine. When attempting to initiate the batch service, the following error message appeared:

Error 1064: An exception occurred in the service when handling the control request.

Additionally, the client was not up. Both issues can be resolved by following the steps below.

Solution Discovered

Step 1

Log in to your Azure portal and navigate to the App Registrations page.

Step 2

Select the “New Registration” tab on the page.

Step 3

Fill in the required fields such as Name and Platform. Enter the Environment URL and click the “Register” button.

Step 4

Once registration is complete, locate the new app registration in the list. Open it and note down the Application ID for future reference.

Step 5

Launch the “Generate Self-Signed Certificates” app on your VM. Enter the Application ID from Azure and choose N for new registration.

Step 6

Launch the “Admin User Provisioning App.” Enter your official or Azure login email and click “Submit.”